<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>console_fd</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/src--consaver--cons.saver.c.html#L162'>console_fd</a>        162 src/consaver/cons.saver.c     int console_fd, vcsa_fd, console_minor, buffer_size;</span>
<span class='curline'><a href='../S/src--consaver--cons.saver.c.html#L184'>console_fd</a>        184 src/consaver/cons.saver.c     console_fd = open (tty_name, O_RDONLY);</span>
<span class='curline'><a href='../S/src--consaver--cons.saver.c.html#L185'>console_fd</a>        185 src/consaver/cons.saver.c     if (console_fd &lt; 0)</span>
<span class='curline'><a href='../S/src--consaver--cons.saver.c.html#L187'>console_fd</a>        187 src/consaver/cons.saver.c     if (fstat (console_fd, &amp;st) &lt; 0 || !S_ISCHR (st.st_mode))</span>
<span class='curline'><a href='../S/src--consaver--cons.saver.c.html#L235'>console_fd</a>        235 src/consaver/cons.saver.c     if (ioctl (console_fd, TIOCGWINSZ, &amp;winsz) &lt; 0</span>
<span class='curline'><a href='../S/src--consaver--cons.saver.c.html#L257'>console_fd</a>        257 src/consaver/cons.saver.c                 || fstat (console_fd, &amp;st) &lt; 0 || st.st_uid != uid</span>
<span class='curline'><a href='../S/src--consaver--cons.saver.c.html#L259'>console_fd</a>        259 src/consaver/cons.saver.c                 || fstat (console_fd, &amp;st) &lt; 0 || st.st_uid != uid)</span>
<span class='curline'><a href='../S/src--consaver--cons.saver.c.html#L266'>console_fd</a>        266 src/consaver/cons.saver.c                 &amp;&amp; lseek (vcsa_fd, 0, 0) == 0 &amp;&amp; fstat (console_fd, &amp;st) &gt;= 0 &amp;&amp; st.st_uid == uid)</span>
</pre>
</body>
</html>
